Michael Natterer [Wed, 18 Jun 2008 07:00:46 +0000 (07:00 +0000)]
deprecate gtk_type_class().
2008-06-18 Michael Natterer <mitch@imendio.com>
* gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
* gtk/gtk.symbols: changed accordingly.
* gtk/gtksettings.c (gtk_settings_install_property)
(gtk_settings_install_property_parser): get rid of using
gtk_type_class() by keeping a static reference to GtkSettingsClass
around in both functions and passing that pointer on to
settings_install_property_parser().
* tests/testgtk.c: use g_type_class_ref()/unref() instead of
gtk_type_class().
* gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
gtktypeutils.h.
svn path=/trunk/; revision=20444
Johan Dahlin [Wed, 18 Jun 2008 01:42:13 +0000 (01:42 +0000)]
Add deprecated version and change the deprecation markup used by ref/unref
2008-06-17 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkstyle.c: Add deprecated version
and change the deprecation markup used by ref/unref
svn path=/trunk/; revision=20443
Johan Dahlin [Wed, 18 Jun 2008 01:31:22 +0000 (01:31 +0000)]
Add deprecated versions and fixup markup.
2008-06-17 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkwidget.c:
Add deprecated versions and fixup markup.
svn path=/trunk/; revision=20442
Johan Dahlin [Wed, 18 Jun 2008 01:19:53 +0000 (01:19 +0000)]
Don't markup deprecated in italics.
2008-06-17 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkaboutdialog.c:
* gtk/gtkbutton.c (gtk_button_class_init):
Don't markup deprecated in italics.
svn path=/trunk/; revision=20441
Carlos Garnacho [Tue, 17 Jun 2008 23:33:48 +0000 (23:33 +0000)]
Remove GtkFileSystemError, use GtkFileChooserError instead. (#538378,
2008-06-18 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
svn path=/trunk/; revision=20440
Michael Natterer [Tue, 17 Jun 2008 21:38:16 +0000 (21:38 +0000)]
undeprecate.
2008-06-17 Michael Natterer <mitch@imendio.com>
* examples/gtkdial/gtkdial.[ch]: undeprecate.
svn path=/trunk/; revision=20439
Michael Natterer [Tue, 17 Jun 2008 21:34:15 +0000 (21:34 +0000)]
remove bogus extern declaration of non-existing function
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkobject.c: remove bogus extern declaration of non-existing
function gtk_object_init_type().
svn path=/trunk/; revision=20438
Michael Natterer [Tue, 17 Jun 2008 21:00:28 +0000 (21:00 +0000)]
gail.c s/gtk_type_class/g_type_class_ref/
2008-06-17 Michael Natterer <mitch@imendio.com>
* gail.c
* gailtoplevel.c: s/gtk_type_class/g_type_class_ref/
* Makefile.am: add GDK_DISABLE_DEPRECATED to CPPFLAGS.
svn path=/trunk/; revision=20437
Michael Natterer [Tue, 17 Jun 2008 20:43:07 +0000 (20:43 +0000)]
s/GtkType/GType/
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkbindings.c (gtk_binding_entry_add_signal):
* gtk/gtktoolbutton.c (gtk_tool_button_get_type):
* examples/gtkdial/gtkdial.h (gtk_dial_get_type):
s/GtkType/GType/
svn path=/trunk/; revision=20436
Tor Lillqvist [Tue, 17 Jun 2008 19:29:22 +0000 (19:29 +0000)]
Need to do the GTK_DISABLE_DEPRECATED #undef/#define dance here, too,
2008-06-17 Tor Lillqvist <tml@novell.com>
* gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
#undef/#define dance here, too, because
gtk_notebook_set_group_id() is deprecated but used here before it
is defined, and gcc complains about conflicting type from the
implicit int declaration when it sees the actual void definition.
svn path=/trunk/; revision=20435
Tor Lillqvist [Tue, 17 Jun 2008 19:11:54 +0000 (19:11 +0000)]
Don't use the deprecated GTK_* GtkType macros.
2008-06-17 Tor Lillqvist <tml@novell.com>
* modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
GtkType macros.
svn path=/trunk/; revision=20434
Michael Natterer [Tue, 17 Jun 2008 16:03:46 +0000 (16:03 +0000)]
build with GTK_DISABLE_DEPRECATED.
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
* gtk/gtkclist.c
* gtk/gtkcombo.c
* gtk/gtkctree.c
* gtk/gtklist.c
* gtk/gtklistitem.c
* gtk/gtkoldeditable.c
* gtk/gtkpixmap.c
* gtk/gtktext.c
* gtk/gtktipsquery.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
actually use deprecated symbols (not just types or macros),
#define it again before #include "gtkalias.h" so the symbols match
and the beast links.
svn path=/trunk/; revision=20433
Paolo Borelli [Tue, 17 Jun 2008 15:46:40 +0000 (15:46 +0000)]
more tests for GtkRecentManager.
2008-06-17 Paolo Borelli <pborelli@katamail.com>
* gtk/tests/recentmanager.c: more tests for GtkRecentManager.
svn path=/trunk/; revision=20431
Michael Natterer [Tue, 17 Jun 2008 14:58:10 +0000 (14:58 +0000)]
modules/input/gtkimcontextmultipress.h modules/input/gtkimcontextthai.h
2008-06-17 Michael Natterer <mitch@imendio.com>
* modules/input/gtkimcontextmultipress.h
* modules/input/gtkimcontextthai.h
* modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
type checking macros.
svn path=/trunk/; revision=20430
Michael Natterer [Tue, 17 Jun 2008 14:34:59 +0000 (14:34 +0000)]
really move the GtkType typedef to an undeprecated section.
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtktypeutils.h: really move the GtkType typedef to an
undeprecated section.
svn path=/trunk/; revision=20429
Michael Natterer [Tue, 17 Jun 2008 14:17:29 +0000 (14:17 +0000)]
deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST, GTK_CHECK_GET_CLASS,
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
Move the GtkType typedef to an undeprecated section.
svn path=/trunk/; revision=20428
Michael Natterer [Tue, 17 Jun 2008 14:14:06 +0000 (14:14 +0000)]
use G_TYPE macros for type checking instead of GTK_CHECK ones because it's
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkprogress.h: use G_TYPE macros for type checking instead
of GTK_CHECK ones because it's the parent class of an undeprecated
class and the GTK_CHECK stuff will soon be deprecated.
svn path=/trunk/; revision=20427
Michael Natterer [Tue, 17 Jun 2008 14:11:26 +0000 (14:11 +0000)]
gtk/gtkfilesel.c gtk/gtkinputdialog.c gtk/gtkmenutoolbutton.c
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilesel.c
* gtk/gtkinputdialog.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkoptionmenu.c
* gtk/gtktoolitem.c
* gtk/gtktooltips.c: add or move around
#undef GTK_DISABLE_DEPRECATED so it's possible to build without
deprecated stuff again (with the minor glitch that it doesn't
link ;) but at least it's a tool to keep the code clean).
svn path=/trunk/; revision=20426
Emmanuele Bassi [Tue, 17 Jun 2008 13:46:48 +0000 (13:46 +0000)]
Fix dumb typo in the previous commit.
2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c:
(gtk_recent_manager_remove_item): Fix dumb typo in the previous
commit.
svn path=/trunk/; revision=20425
Emmanuele Bassi [Tue, 17 Jun 2008 13:42:53 +0000 (13:42 +0000)]
Increase the consistency of the errors returned by GtkRecentManager.
2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c:
(gtk_recent_manager_remove_item),
(gtk_recent_manager_move_item): Increase the consistency of the
errors returned by GtkRecentManager. (Paolo Borelli)
svn path=/trunk/; revision=20424
Paolo Borelli [Tue, 17 Jun 2008 13:37:59 +0000 (13:37 +0000)]
add some unit tests for GtkRecentManager.
2008-06-17 Paolo Borelli <pborelli@katamail.com>
* gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
svn path=/trunk/; revision=20423
Emmanuele Bassi [Tue, 17 Jun 2008 13:15:45 +0000 (13:15 +0000)]
Consistently use the same error when removing a URI from an empty
2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c:
(gtk_recent_manager_remove_item): Consistently use the same
error when removing a URI from an empty GtkRecentManager.
svn path=/trunk/; revision=20422
Michael Natterer [Tue, 17 Jun 2008 12:54:16 +0000 (12:54 +0000)]
remove static integer variables which hold the number of members in
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilechooserdefault.c: remove static integer variables
which hold the number of members in GtkTargetEntry arrays and use
G_N_ELEMENTS() directly instead.
svn path=/trunk/; revision=20421
Michael Natterer [Tue, 17 Jun 2008 12:47:57 +0000 (12:47 +0000)]
move some deprecated symbols into #ifndef GTK_DISABLE_DEPRECATED.
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtk.symbols: move some deprecated symbols into
#ifndef GTK_DISABLE_DEPRECATED.
svn path=/trunk/; revision=20420
Emmanuele Bassi [Tue, 17 Jun 2008 12:46:12 +0000 (12:46 +0000)]
Remove the GtkRecentManager screen dance, as it has been deprecated since
2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkfilechooserdefault.c:
(gtk_file_chooser_default_init),
(gtk_file_chooser_default_constructor),
(gtk_file_chooser_default_screen_changed),
(recent_start_loading): Remove the GtkRecentManager screen
dance, as it has been deprecated since 2.12. Now we get the
GtkRecentManager singleton whewn we create the FileChooserDefault
instance. (Michael Natterer)
svn path=/trunk/; revision=20419
Michael Natterer [Tue, 17 Jun 2008 11:27:37 +0000 (11:27 +0000)]
cast menu's toplevel to GtkWindow when passing to
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
toplevel to GtkWindow when passing to gtk_window_set_type_hint().
svn path=/trunk/; revision=20417
Michael Natterer [Tue, 17 Jun 2008 09:58:09 +0000 (09:58 +0000)]
#undef GTK_DISABLE_DEPRECATED, clean up includes a bit.
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
includes a bit.
* gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
in via deprecated headers.
svn path=/trunk/; revision=20416
Tor Lillqvist [Tue, 17 Jun 2008 08:51:27 +0000 (08:51 +0000)]
Justify my last entry.
svn path=/trunk/; revision=20415
Matthias Clasen [Tue, 17 Jun 2008 02:11:47 +0000 (02:11 +0000)]
Protect against XKB being stupid. Reported by Pedro Villavicencio.
* gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
against XKB being stupid. Reported by Pedro Villavicencio.
svn path=/trunk/; revision=20413
Michael Natterer [Mon, 16 Jun 2008 22:47:50 +0000 (22:47 +0000)]
use g_object_ref() and unref() instead of the deprecated gtk_widget_ref()
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
and unref() instead of the deprecated gtk_widget_ref() and unref().
svn path=/trunk/; revision=20411
Michael Natterer [Mon, 16 Jun 2008 20:10:17 +0000 (20:10 +0000)]
removed function drag_begin_cb(), which was in svn since 2.8 but was never
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkentry.c: removed function drag_begin_cb(), which was in
svn since 2.8 but was never used.
svn path=/trunk/; revision=20409
Michael Natterer [Mon, 16 Jun 2008 20:02:33 +0000 (20:02 +0000)]
use gtk_binding_entry_clear() instead of gtk_binding_entry_add() (the
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
gtk_binding_entry_clear() instead of gtk_binding_entry_add()
(the former is deprecated and #defined to gtk_binding_entry_clear)
svn path=/trunk/; revision=20408
Michael Natterer [Mon, 16 Jun 2008 19:19:31 +0000 (19:19 +0000)]
don't include the deprecated (and unused) "gtkmarshal.h".
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkprintoperation-unix.c: don't include the deprecated (and
unused) "gtkmarshal.h".
svn path=/trunk/; revision=20407
Behdad Esfahbod [Mon, 16 Jun 2008 18:53:17 +0000 (18:53 +0000)]
Bug 538182 – pango_cairo_context_update_layout is not noop after
2008-06-16 Behdad Esfahbod <behdad@gnome.org>
Bug 538182 – pango_cairo_context_update_layout is not noop after
gtk_widget_create_pango_layout
* gtk/gtksettings.c (settings_update_font_options): Make sure all
font option fields are set to non-DEFAULT values.
svn path=/trunk/; revision=20406
Michael Natterer [Mon, 16 Jun 2008 16:53:39 +0000 (16:53 +0000)]
gtk/gtkfontsel.c gtk/gtkrc.c gtk/gtkstyle.c use g_object_unref() instead
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkfontsel.c
* gtk/gtkrc.c
* gtk/gtkstyle.c
* gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
gtk_rc_style_unref().
svn path=/trunk/; revision=20405
Michael Natterer [Mon, 16 Jun 2008 16:44:19 +0000 (16:44 +0000)]
use _gtk_marshal_BOOLEAN__VOID instead of the deprecated
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_class_init): use
_gtk_marshal_BOOLEAN__VOID instead of the deprecated
gtk_marshal_BOOLEAN__VOID.
svn path=/trunk/; revision=20404
Michael Natterer [Mon, 16 Jun 2008 16:26:49 +0000 (16:26 +0000)]
gtk/gtkcellrendereraccel.h gtk/gtkiconview.h use G_TYPE macros instead of
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellrendereraccel.h
* gtk/gtkiconview.h
* gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
macros for type checking.
(gtk_object_get_type): change prototype to return GType instead of
GtkType.
svn path=/trunk/; revision=20403
Tor Lillqvist [Mon, 16 Jun 2008 13:46:20 +0000 (13:46 +0000)]
Increase verbiage.
svn path=/trunk/; revision=20402
Tor Lillqvist [Mon, 16 Jun 2008 13:44:23 +0000 (13:44 +0000)]
Typo.
svn path=/trunk/; revision=20401
Matthias Clasen [Mon, 16 Jun 2008 13:38:58 +0000 (13:38 +0000)]
Add some symlinks to the builtin icon theme
svn path=/trunk/; revision=20399
Tor Lillqvist [Mon, 16 Jun 2008 13:27:46 +0000 (13:27 +0000)]
Bug 538362 - Get Win32 icons back in the file chooser
2008-06-16 Tor Lillqvist <tml@novell.com>
Bug 538362 - Get Win32 icons back in the file chooser
* gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
reference to an icon resource in a DLL or .EXE as in the
Registry. In that case, extract the icon and convert to a
GdkPixbuf. Patch by Hans Breuer.
svn path=/trunk/; revision=20398
Matthias Clasen [Mon, 16 Jun 2008 12:31:20 +0000 (12:31 +0000)]
Add icons that are used by GtkVolumeButton
svn path=/trunk/; revision=20397
Michael Natterer [Mon, 16 Jun 2008 11:49:23 +0000 (11:49 +0000)]
remove GtkTooltips member from the GtkFileChooserDefault struct.
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
GtkFileChooserDefault struct.
* gtk/gtkfilechooserdefault.c: don't allocate and free the
GtkTooltips.
svn path=/trunk/; revision=20396
Carlos Garnacho [Mon, 16 Jun 2008 10:03:16 +0000 (10:03 +0000)]
Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
2008-06-16 Carlos Garnacho <carlos@imendio.com>
Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
anymore
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
Allow again setting any of the properties to render an image back to
NULL.
svn path=/trunk/; revision=20395
Matthias Clasen [Mon, 16 Jun 2008 02:05:16 +0000 (02:05 +0000)]
When pixel-size is specified, use GTK_ICON_LOOKUP_FORCE_SIZE when loading
2008-06-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimage.c: When pixel-size is specified, use
GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
svn path=/trunk/; revision=20394
Carlos Garnacho [Sun, 15 Jun 2008 23:32:11 +0000 (23:32 +0000)]
Return full path here as expected, not just the basename.
2008-06-15 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
path here as expected, not just the basename.
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_update_current_folder): Ensure that we keep
a reference to file, since it can be destroyed when switching back to
browse mode.
* gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
and desktop directories are dealt by the filechooser as normal files,
not volumes, so the icon for these is handled directly by GIO.
(_gtk_file_system_volume_render_icon): Update caller.
svn path=/trunk/; revision=20393
Matthias Clasen [Sun, 15 Jun 2008 22:56:47 +0000 (22:56 +0000)]
Fix docs
svn path=/trunk/; revision=20392
Matthias Clasen [Sun, 15 Jun 2008 04:54:20 +0000 (04:54 +0000)]
Add a gicon property
svn path=/trunk/; revision=20391
Cody Russell [Sun, 15 Jun 2008 00:00:49 +0000 (00:00 +0000)]
Initialize hwnd to NULL. This fixes OpenClipboard() failure and, according
2008-06-14 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
according to MSDN docs, associates the open clipboard with the
current task. (#378158, reported by Andreas Köhler)
svn path=/trunk/; revision=20388
Matthias Clasen [Sat, 14 Jun 2008 01:24:08 +0000 (01:24 +0000)]
Bump version
svn path=/trunk/; revision=20387
Matthias Clasen [Sat, 14 Jun 2008 01:21:31 +0000 (01:21 +0000)]
2.13.3
svn path=/trunk/; revision=20385
Matthias Clasen [Fri, 13 Jun 2008 20:09:58 +0000 (20:09 +0000)]
Updates
svn path=/trunk/; revision=20384
Matthias Clasen [Fri, 13 Jun 2008 17:47:43 +0000 (17:47 +0000)]
Here too
svn path=/trunk/; revision=20383
Matthias Clasen [Fri, 13 Jun 2008 17:45:55 +0000 (17:45 +0000)]
Remove no longer existing files
svn path=/trunk/; revision=20382
Matthias Clasen [Fri, 13 Jun 2008 17:40:17 +0000 (17:40 +0000)]
Add some docs
svn path=/trunk/; revision=20381
Matthias Clasen [Fri, 13 Jun 2008 17:20:55 +0000 (17:20 +0000)]
Fix doc typos
svn path=/trunk/; revision=20380
Matthias Clasen [Fri, 13 Jun 2008 17:02:26 +0000 (17:02 +0000)]
Avoid PLT entries
svn path=/trunk/; revision=20379
Matthias Clasen [Fri, 13 Jun 2008 16:47:41 +0000 (16:47 +0000)]
Really make GtkFileSystem private by _-prefixing all functions.
* gtk/gtkfilechooserbutton.c:
* gtk/gtkfilechooserdefault.c:
* gtk/gtkfilechooserentry.c:
* gtk/gtkfilesystem.c:
* gtk/gtkfilesystem.h:
* gtk/gtkfilesystemmodel.c:
* gtk/gtkpathbar.c: Really make GtkFileSystem private
by _-prefixing all functions.
svn path=/trunk/; revision=20378
Matthias Clasen [Fri, 13 Jun 2008 15:00:36 +0000 (15:00 +0000)]
Updates
svn path=/trunk/; revision=20377
Matthias Clasen [Fri, 13 Jun 2008 14:54:46 +0000 (14:54 +0000)]
Updates`
svn path=/trunk/; revision=20376
Michael Natterer [Fri, 13 Jun 2008 14:26:44 +0000 (14:26 +0000)]
gtk/gtkcellrendereraccel.h gtk/gtkfilechooser.h gtk/gtkfilechooserdialog.h
2008-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellrendereraccel.h
* gtk/gtkfilechooser.h
* gtk/gtkfilechooserdialog.h
* gtk/gtkfilechooserwidget.h
* gtk/gtkmenutoolbutton.h
* gtk/gtkpagesetup.h
* gtk/gtkpapersize.h
* gtk/gtkprintcontext.h
* gtk/gtkprintoperation.h
* gtk/gtkprintoperationpreview.h
* gtk/gtkprintsettings.h
* gtk/gtkradiotoolbutton.h
* gtk/gtkrecentchooser.h
* gtk/gtkrecentchooserdialog.h
* gtk/gtkrecentchoosermenu.h
* gtk/gtkrecentchooserwidget.h
* gtk/gtkseparatortoolitem.h
* gtk/gtkshow.h
* gtk/gtktoggletoolbutton.h
* gtk/gtktoolbar.h
* gtk/gtktoolbutton.h
* gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
"gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
svn path=/trunk/; revision=20375
Michael Natterer [Fri, 13 Jun 2008 14:04:52 +0000 (14:04 +0000)]
remove double inclusion of <gtk/gtktexttag.h>.
2008-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtktexttagtable.h: remove double inclusion of
<gtk/gtktexttag.h>.
svn path=/trunk/; revision=20374
Michael Natterer [Fri, 13 Jun 2008 13:40:29 +0000 (13:40 +0000)]
change type of local "image" variable from GtkImage to GtkWidget to fix
2008-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtkaction.c (gtk_action_set_short_label): change type of
local "image" variable from GtkImage to GtkWidget to fix warning.
svn path=/trunk/; revision=20373
Michael Natterer [Fri, 13 Jun 2008 13:30:38 +0000 (13:30 +0000)]
cast menu's toplevel to GtkWindow when passing to
2008-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
toplevel to GtkWindow when passing to gtk_window_set_type_hint().
svn path=/trunk/; revision=20372
Michael Natterer [Fri, 13 Jun 2008 10:44:34 +0000 (10:44 +0000)]
silently skip unknown attributes instead of bailing out with an error in
2008-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtkuimanager.c (start_element_handler): silently skip
unknown attributes instead of bailing out with an error in order
to be compatible with possible future attribute names.
This is related to the discussion in bug #516425 but actually
needed for any kind of XML format extension.
svn path=/trunk/; revision=20371
Hans Breuer [Fri, 13 Jun 2008 08:36:26 +0000 (08:36 +0000)]
check surface status after ceating a pdf. Avoids crashing when the target
2008-05-23 Hans Breuer <hans@breuer.org>
* gtk/gtkprintoperation.c : check surface status after ceating a pdf.
Avoids crashing when the target can not be written, bug #537685
* gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
* gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
it was not needed here anyway.
svn path=/trunk/; revision=20370
Hans Breuer [Fri, 13 Jun 2008 08:27:02 +0000 (08:27 +0000)]
updated to allow simple switch between gdiplus- and former fileformat
2008-06-13 Hans Breuer <hans@breuer.org>
* makefile.msc : updated to allow simple switch between gdiplus- and
former fileformat backends
* io-tiff.c : use g_snprintf
svn path=/trunk/; revision=20369
Matthias Clasen [Fri, 13 Jun 2008 04:56:25 +0000 (04:56 +0000)]
Fix frame size allocation
svn path=/trunk/; revision=20368
Matthias Clasen [Fri, 13 Jun 2008 04:23:54 +0000 (04:23 +0000)]
Fix a crash
svn path=/trunk/; revision=20367
Matthias Clasen [Fri, 13 Jun 2008 03:24:37 +0000 (03:24 +0000)]
Open the default display even when gtk_parse_args() has already been
* gtk/gtkmain.c (gtk_init_with_args): Open the default display
even when gtk_parse_args() has already been called.
Patch by Mathias Hasselmann
svn path=/trunk/; revision=20366
Matthias Clasen [Fri, 13 Jun 2008 03:21:09 +0000 (03:21 +0000)]
Improve appearance of "both vertical" mode toolbuttons. Patch by Peter
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
Improve appearance of "both vertical" mode toolbuttons.
Patch by Peter Johanson
svn path=/trunk/; revision=20365
Matthias Clasen [Fri, 13 Jun 2008 03:17:51 +0000 (03:17 +0000)]
A11y descriptions for GtkVolumeButton
svn path=/trunk/; revision=20364
Matthias Clasen [Fri, 13 Jun 2008 01:26:46 +0000 (01:26 +0000)]
Set the image of a button proxy to the "icon-name" property.
* gtk/gtkaction.c (connect_proxy): Set the image of a button
proxy to the "icon-name" property.
(gtk_action_set_short_label): If the "image" property is set
on the button proxy, also tries to set the "label" property on
the GtkButton.
svn path=/trunk/; revision=20363
Michael Natterer [Thu, 12 Jun 2008 13:53:55 +0000 (13:53 +0000)]
gtk/gtkmain.c don't #include <libintl.h>, it's pulled in via "gtkintl.h"
2008-06-12 Michael Natterer <mitch@imendio.com>
* gtk/gtkmain.c
* gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
in via "gtkintl.h" from <glib/gi18n-lib.h>.
svn path=/trunk/; revision=20362
Matthias Clasen [Thu, 12 Jun 2008 13:03:35 +0000 (13:03 +0000)]
Really fix printer URI construction
svn path=/trunk/; revision=20360
Michael Natterer [Thu, 12 Jun 2008 11:17:16 +0000 (11:17 +0000)]
limit the number of displayed items by the actual screen height instead of
2008-06-12 Michael Natterer <mitch@imendio.com>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
limit the number of displayed items by the actual screen height
instead of some arbitrary value (Bug #408154, Xan Lopez and
Christian Dywan).
svn path=/trunk/; revision=20359
Behdad Esfahbod [Wed, 11 Jun 2008 23:40:35 +0000 (23:40 +0000)]
Bug 503071 – Application direction changes to right to left even if
2008-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 503071 – Application direction changes to right to left even if
theres no translation
* configure.in: Bump glib requirement.
* gtk/gtkaccellabel.c
(_gtk_accel_label_class_get_accelerator_label):
* gtk/gtkactiongroup.c (dgettext_swapped):
* gtk/gtkbuilder.c (gtk_builder_class_init):
* gtk/gtkbuilderparser.c (_dpgettext),
(_gtk_builder_parser_translate):
* gtk/gtkfilechooserdefault.c (list_size_data_func):
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
* gtk/gtkintl.h:
* gtk/gtkmain.c (setlocale_initialization),
(do_pre_parse_initialization), (gettext_initialization):
* gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
Use g_dgettext() and g_dngettext().
svn path=/trunk/; revision=20358
Djihed Afifi [Wed, 11 Jun 2008 21:43:32 +0000 (21:43 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=20357
Djihed Afifi [Wed, 11 Jun 2008 21:39:48 +0000 (21:39 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=20356
Matthias Clasen [Wed, 11 Jun 2008 18:51:35 +0000 (18:51 +0000)]
More detail
svn path=/trunk/; revision=20355
Matthias Clasen [Wed, 11 Jun 2008 18:45:07 +0000 (18:45 +0000)]
Updates
svn path=/trunk/; revision=20354
Tor Lillqvist [Wed, 11 Jun 2008 16:05:28 +0000 (16:05 +0000)]
As we don't support Win9x anyway, we can use ProcessIdToSessionId()
2008-06-11 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
support Win9x anyway, we can use ProcessIdToSessionId()
unconditionally.
svn path=/trunk/; revision=20353
Michael Natterer [Wed, 11 Jun 2008 15:14:26 +0000 (15:14 +0000)]
fix local prototype of _gtk_file_chooser_label_for_file() (takes a GFile,
2008-06-11 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilechooserbutton.c: fix local prototype of
_gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
svn path=/trunk/; revision=20352
Matthias Clasen [Wed, 11 Jun 2008 03:36:32 +0000 (03:36 +0000)]
Bug 536765 – GtkComboBox should set COMBO type hint for its menu
* gtk/gtkoptionmenu.c:
* gtk/gtkcombobox.c: Set the window type hint on popups.
Patch by Danny Baumann
svn path=/trunk/; revision=20351
Matthias Clasen [Wed, 11 Jun 2008 03:17:55 +0000 (03:17 +0000)]
Add standard icon names, and also fall back to builtin gtk stock icons.
* gtk/gtkfilesystem.c (get_icon_for_special_directory):
(gtk_file_system_volume_render_icon): Add standard icon names,
and also fall back to builtin gtk stock icons.
svn path=/trunk/; revision=20350
Christian Persch [Tue, 10 Jun 2008 12:33:22 +0000 (12:33 +0000)]
Make gtk_tree_view_enable_model_drag_[source|dest] compatible with
* gtk/gtktreeview.c: (destroy_info), (set_destination_row),
(gtk_tree_view_maybe_begin_dragging_row),
(gtk_tree_view_set_reorderable),
(gtk_tree_view_enable_model_drag_source),
(gtk_tree_view_enable_model_drag_dest),
(gtk_tree_view_unset_rows_drag_source),
(gtk_tree_view_unset_rows_drag_dest): Make
gtk_tree_view_enable_model_drag_[source|dest] compatible with
gtk_drag_[source|dest]_add_*_targets. Bug #506853.
svn path=/trunk/; revision=20349
Christian Persch [Tue, 10 Jun 2008 12:28:57 +0000 (12:28 +0000)]
Use GSlice. Patch from bug #506853.
* gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
(dest_row_free), (set_dest_row), (ensure_info),
(gtk_tree_view_remove), (gtk_tree_view_put),
(gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
bug #506853.
svn path=/trunk/; revision=20348
Paolo Borelli [Tue, 10 Jun 2008 12:21:58 +0000 (12:21 +0000)]
gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) use
2008-06-10 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
use g_file_new_for_uri.
svn path=/trunk/; revision=20347
Paolo Borelli [Tue, 10 Jun 2008 11:50:43 +0000 (11:50 +0000)]
do not leak the GIcon.
2008-06-10 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
leak the GIcon.
svn path=/trunk/; revision=20346
Theppitak Karoonboonyanan [Tue, 10 Jun 2008 10:13:26 +0000 (10:13 +0000)]
Updated Thai translation.
2008-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* th.po: Updated Thai translation.
svn path=/trunk/; revision=20345
Li Yuan [Tue, 10 Jun 2008 05:40:42 +0000 (05:40 +0000)]
Automatically scroll text caret to make it visible, when AT sets its
2008-06-10 Li Yuan <li.yuan@sun.com>
* gailtextview.c: (gail_text_view_set_caret_offset):
Automatically scroll text caret to make it visible, when AT
sets its offset.
svn path=/trunk/; revision=20344
Carlos Garnacho [Tue, 10 Jun 2008 00:39:45 +0000 (00:39 +0000)]
removed local xdgmime copy as Matthias suggested in bug #520874, comment
2008-06-10 Carlos Garnacho <carlos@imendio.com>
* configure.in:
* gtk/Makefile.am:
* gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
#520874, comment #8. It's no longer used directly by GTK+.
svn path=/trunk/; revision=20343
Carlos Garnacho [Tue, 10 Jun 2008 00:39:35 +0000 (00:39 +0000)]
Bug 520874 - Should use gio directly.
2008-06-10 Carlos Garnacho <carlos@imendio.com>
Bug 520874 - Should use gio directly.
* gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
provides helper functions for asynchronous calls, folder abstraction
and uniform handling of volumes/drives/mounts.
* gtk/gtkfilesystemwin32.[ch]:
* gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
* gtk/gtkfilechooser.c:
* gtk/gtkfilechooserbutton.c:
* gtk/gtkfilechooserdefault.c:
* gtk/gtkfilechooserentry.[ch]:
* gtk/gtkfilechooserprivate.h:
* gtk/gtkfilechooserutils.c:
* gtk/gtkfilesystemmodel.[ch]:
* gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
Do not load filesystem implementation modules.
* gtk/Makefile.am:
* gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
anymore, nor the unix/win32 implementations.
* README.in: Add blurb about these changes.
svn path=/trunk/; revision=20342
Christian Persch [Mon, 9 Jun 2008 14:37:27 +0000 (14:37 +0000)]
Add bug ref
svn path=/trunk/; revision=20341
Kristian Rietveld [Sun, 8 Jun 2008 22:25:57 +0000 (22:25 +0000)]
Bug 526987 - GtkCellRendererCombo should allow model to be NULL
2008-06-09 Kristian Rietveld <kris@gtk.org>
Bug 526987 - GtkCellRendererCombo should allow model to be NULL
* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
(gtk_cell_renderer_combo_set_property),
(gtk_cell_renderer_combo_editing_done),
(gtk_cell_renderer_combo_start_editing): introduce private class
struct, allow model to be set to NULL.
svn path=/trunk/; revision=20340
Björn Lindqvist [Sun, 8 Jun 2008 21:41:16 +0000 (21:41 +0000)]
Bug 131920 – gtkNotebook sends incorrect switch_page value
2008-06-08 Björn Lindqvist <bjourne@gmail.com>
Bug 131920 – gtkNotebook sends incorrect switch_page value
* gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
signal send correct page index when page index 0 is active and
removed. (#131920, Samuel Fogh)
svn path=/trunk/; revision=20339
Yair Hershkovitz [Sun, 8 Jun 2008 13:53:16 +0000 (13:53 +0000)]
updated hebrew translation
svn path=/trunk/; revision=20336
Yair Hershkovitz [Sun, 8 Jun 2008 13:51:38 +0000 (13:51 +0000)]
updated hebrew translation
svn path=/trunk/; revision=20335
Kristian Rietveld [Sun, 8 Jun 2008 12:53:19 +0000 (12:53 +0000)]
Bug 536730 - memory corruption in gtktreeview
2008-06-08 Kristian Rietveld <kris@gtk.org>
Bug 536730 - memory corruption in gtktreeview
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
remove the expand/collapse timeout and node, then free the rbtree.
svn path=/trunk/; revision=20334
Kristian Rietveld [Sun, 8 Jun 2008 12:47:15 +0000 (12:47 +0000)]
Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
2008-06-08 Kristian Rietveld <kris@gtk.org>
Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
* gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
find path if we found valid nodes, return FALSE otherwise. (Patch
from Matthias Clasen).
svn path=/trunk/; revision=20333